import request from "@/utils/request.js";
/** 
 * 支付配置列表
 * @param {object} data
*/
export function paymentSetupList(data) {
    return request({
        url: '/jy-system/sys/config/queryPayConfig',
        method: 'post',
        data
    })
}
/**
 * 编辑新增支付配置
 */
export function paymentSetupEdit(data) {
    return request({
        url: '/jy-system/sys/config/operationPayConfig',
        method: 'post',
        data
    })
}
/**
 * 改变支付配置排序
 * @param {array} sortConfigList 排序后的IDlist
 */
export function paymentSetupSort(sortConfigList) {
    return request({
        url: '/jy-system/sys/config/v1/changeSort',
        method: 'post',
        data:{
            sortConfigList
        }
    })
}